package com.lyy.common.constant;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>Restful方式登陆token
 * @author YW
 * @since 2019-06-17
 */
@Data
public class Token implements Serializable {

	private static final long serialVersionUID = 8300485294800288727L;
	private String accessToken;
	private Date expireTime;	// 到期时间
	
	public Token() {
		super();
	}

	public Token(String accessToken, Date expireTime) {
		this.accessToken = accessToken;
		this.expireTime = expireTime;
	}

}